package com.user.service.impl;

import com.user.entity.UserType;
import com.user.mapper.UserTypeMapper;
import com.user.service.UserTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cd
 * @version 1.0
 * @date 2021/10/7 12:58
 */
@Service
public class UserTypeServiceImpl implements UserTypeService {
    @Autowired
    private UserTypeMapper userTypeMapper;
    @Override
    public List<UserType> findAll() {
        return userTypeMapper.selectByExample(null);
    }
}
